home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / timepilot.swf / scripts / frame_31 / PlaceObject2_129_10 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Encoding:
Text File  |  2007-03-13  |  391 b   |  20 lines

  1. onClipEvent(load){
  2.    function reset()
  3.    {
  4.       this._x = _root.posx[random(11)];
  5.       this._y = _root.posy[random(2)];
  6.       this.gotoAndStop(_root.LevelStage);
  7.       xspeed = 0;
  8.       yspeed = 0;
  9.       rotate = 0;
  10.       hits = 0;
  11.       Start = true;
  12.    }
  13.    this.gotoAndStop(_root.LevelStage);
  14.    xspeed = 0;
  15.    yspeed = 0;
  16.    rotate = 0;
  17.    hits = 0;
  18.    rand = 0;
  19. }
  20.